<%--
  Created by IntelliJ IDEA.
  User: lkl
  Date: 2024/7/3
  Time: 9:52
  To change this template use File | Settings | File Templates.
--%>

<%@ page pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="jakarta.tags.core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
    <base href="<%=basePath%>">
<link rel="apple-touch-icon" sizes="76x76" href="assets/img/123.png">
<link rel="icon" type="image/png" href="assets/img/123.png">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<title>NEFU CCEC SE</title>
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no'
      name='viewport'/>
<!-- Google Font -->
<link href="https://fonts.googleapis.com/css?family=Playfair+Display:400,700|Source+Sans+Pro:400,600,700"
      rel="stylesheet">
<!-- Font Awesome Icons -->

<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css"
      integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link rel="stylesheet" href="Bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="Bootstrap/font/bootstrap-icons.css">
<!-- Main CSS -->
<link  rel="stylesheet" href="assets/css/main.css"/>
    <link  rel="stylesheet" href="assets/css/notice.css"/>
<%--<link rel="stylesheet" href="assets/css/notice.css">--%>
</head>
<body>
<!--------------------------------------
NAVBAR
--------------------------------------->
<!--导航-->
<%--<nav class="topnav navbar navbar-expand-lg navbar-light bg-white fixed-top">--%>
<%--    <div class="container">--%>
<%--        <a class="navbar-brand" href="index.jsp"><strong>NEFU CCEC SE</strong></a>--%>
<%--        <button class="navbar-toggler collapsed" type="button" data-toggle="collapse" data-target="#navbarColor02" aria-controls="navbarColor02" aria-expanded="false" aria-label="Toggle navigation">--%>
<%--            <span class="navbar-toggler-icon"></span>--%>
<%--        </button>--%>
<%--        <div class="navbar-collapse collapse" id="navbarColor02" style="">--%>
<%--            <ul class="navbar-nav mr-auto d-flex align-items-center">--%>
<%--                <li class="nav-item">--%>
<%--                    <a class="nav-link" href="introduction">专业介绍</a>--%>
<%--                </li>--%>
<%--                <li class="nav-item">--%>
<%--                    <a class="nav-link" href="lab">实验室</a>--%>
<%--                </li>--%>
<%--                <li class="nav-item">--%>
<%--                    <a class="nav-link" href="teacher">教师队伍</a>--%>
<%--                </li>--%>
<%--                <li class="nav-item">--%>
<%--                    <a class="nav-link" href="job">就业指南</a>--%>
<%--                </li>--%>
<%--                <li class="nav-item">--%>
<%--                    <a class="nav-link" href="listNews">新闻</a>--%>
<%--                </li>--%>
<%--                <li class="nav-item">--%>
<%--                    <a class="nav-link" href="listNotice">公告</a>--%>
<%--                </li>--%>
<%--            </ul>--%>
<%--            <ul class="navbar-nav ml-auto d-flex align-items-center">--%>
<%--                <li class="nav-item highlight">--%>
<%--                    <a class="nav-link" href="contact.html">登录</a>--%>
<%--                </li>--%>
<%--            </ul>--%>
<%--        </div>--%>
<%--    </div>--%>
<%--</nav>--%>

<nav class="topnav navbar navbar-expand-lg navbar-light bg-white fixed-top">
    <div class="container">
        <a class="navbar-brand d-lg-none" href="index.html"><i
                class="fas fa-anchor mr-2"></i><strong>Mundana</strong></a>
        <button class="navbar-toggler collapsed" type="button" data-toggle="collapse" data-target="#navbarColor02"
                aria-controls="navbarColor02" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="navbar-collapse collapse" id="navbarColor02">
            <ul class="navbar-nav mr-auto d-flex align-items-center">
                <li class="nav-item highlight">
                    <a class="nav-link " href="listNotice">&larr; 回到公告中心</a>
                </li>
            </ul>
            <ul class="navbar-nav ml-auto d-flex align-items-center">
                <li class="nav-item highlight">
                    <c:set var="nextNoticeLink" value="${notice.nid>=count ? (1) : (notice.nid + 1)}" />
                    <a class="nav-link" target="_blank"
                       href="getnotice?nid=${nextNoticeLink}">阅读下一篇 &rarr;</a>
                </li>
            </ul>
        </div>
    </div>
</nav>

<!-- End Navbar -->


<!--------------------------------------
HEADER
--------------------------------------->

<!-- DOCS CONTENT -->

<div class="container pt-5 pb-5 mb-5">
    <div class="row justify-content-center">
        <div class="col-lg-11">
            <div id="docsarea" class="font-weight-normal">
                <div class="v_news_content align-items-center align-self-center">
                    <h1 style="padding: 0;font-size: 35px">${notice.title}</h1>
                        <p>作者: ${notice.author}</p>
                        <p>时间: ${notice.dateTime}</p>
                    <p class="align-self-left" style="text-indent: 2em;">${notice.content}</p>
                </div>
                <div class="container text-center" style="margin-top: 30px;">
                    <div class="d-flex">
                        <div class="col">
                            <img src="${notice.imageurl}" alt="暂无图片" class="shadow-lg">
                        </div>
                    </div>
                </div>

                <br>
            </div>
        </div>
    </div>
</div>



<!--------------------------------------
FOOTER
--------------------------------------->

<!-- End Footer -->

<!--------------------------------------
JAVASCRIPTS
--------------------------------------->





<div class="footer border-top">
    <div class="wrapper">
        <!--		服务-->
        <div class="service">
            服务于NEFU CCEC SE
        </div>
    </div>
    <!--		版权-->
    <div class="copyright">
        版权所有 2024 东北林业大学计算机与控制工程学院软件工程专业
    </div>
    <div class="maker">
        Copyright &copy; Li KunLong
    </div>
</div>


<script src="assets/js/vendor/jquery.min.js" type="text/javascript"></script>
<script src="assets/js/vendor/popper.min.js" type="text/javascript"></script>
<script src="assets/js/vendor/bootstrap.min.js" type="text/javascript"></script>
<script src="assets/js/functions.js" type="text/javascript"></script>
<script src="Bootstrap/js/bootstrap.min.js"></script>
</body>
</html>
